package com.untrance.shop.common.enums;

import com.untrance.shop.common.utils.MessageUtils;

/**
 * @author eugene zadyra
 */
public enum OrderDirectionType {
	ASC("order.direction.asc"),
	DESC("order.direction.desc");
	
	private String description;
	
	OrderDirectionType(String messageKey){
		this.description = MessageUtils.getLocalizedMessage(messageKey);
	}
	
	public String getDescription(){
		return description;
	}
}
